<html xmlns:wicket="http://wicket.sourceforge.net/">
<body>
	<wicket:extend>
		<div id="settingsPanel">
			<div id="settingsPanelContentBlock">
				<div id="eventFormPanel" class="panelContent">
					<form id="eventForm" wicket:id="eventForm">
						<h1><span wicket:id="headingLabel"></span></h1>
						<div class="formFeedBack" id="formFeedback" wicket:id="formFeedback"></div>
						<div class="formElements">
							<div class="formItem">
								<label for="summary" ><wicket:message key="titleField.label">What</wicket:message></label>
								<span class="formElement"><input class="inputText" type="text" id="summary" wicket:id="summary"/></span>
								<span class="formElementHelp"><wicket:message key="summary.help" /></span>
							</div>
							<div class="formItem">
								<label for="dtStart" ><wicket:message key="startField.label">When</wicket:message></label>
								<span class="formElement"><input class="inputText dateField" type="text" id="dtStart" wicket:id="dtStart" maxlength="10"/></span>
								<span class="formElement"><input class="inputText timeField" type="text" id="tmStart" wicket:id="tmStart" maxlength="8"/></span>
								<span class="formElement"><wicket:message key="endField.label">to</wicket:message></span>
								<span class="formElement"><input class="inputText dateField" type="text" id="dtEnd" wicket:id="dtEnd" maxlength="10"/></span>
								<span class="formElement"><input class="inputText timeField" type="text" id="tmEnd" wicket:id="tmEnd" maxlength="8"/></span>
								<input type="submit" class="button" wicket:id="alldayButton" id="alldayButton" />
								<span class="formElementHelp"><wicket:message key="when.help" /></span>
							</div>
							<div class="formItem">
								<label for="location" ><wicket:message key="locationField.label">Where</wicket:message></label>
								<span class="formElement"><input class="inputText" type="text" id="location" wicket:id="location"/></span>
								<span class="formElementHelp"><wicket:message key="location.help" /></span>
							</div>
							<div class="formItem">
								<label for="calendar" ><wicket:message key="calendarField.label">Calendar</wicket:message></label>
								<span class="formElement"><select class="choiceList" id="calendar" wicket:id="calendar"></select></span>
								<span class="formElementHelp"><wicket:message key="calendar.help" /></span>
							</div>
							<div class="formItem">
								<label for="description" ><wicket:message key="descriptionField.label">Description</wicket:message></label>
								<span class="formElement"><textarea class="inputText" id="description" wicket:id="description"></textarea></span>
								<span class="formElementHelp"><wicket:message key="description.help" /></span>
							</div>
						</div>

						<h1><wicket:message key="recurrence.heading" /></h1>

						<div class="formElements">
							<div class="formItem">
								<label for="frequency" ><wicket:message key="frequencySelect.label">Frequency</wicket:message></label>
								<span class="formElement"><select class="choiceList" id="frequency" wicket:id="frequency"></select></span>
								<input type="submit" class="button" wicket:id="clearFrequencyButton" id="clearFrequencyButton" />
								<span class="formElementHelp"><wicket:message key="repeat.help" /></span>
							</div>
							<div class="formItem">
								<label for="interval" ><wicket:message key="repeatIntervalField.label">Repeat every</wicket:message></label>
								<span class="formElement"><input class="inputText" type="text" id="interval" wicket:id="interval"/></span>
								<span class="formElementHelp"><wicket:message key="interval.help" /></span>
							</div>
							<div class="formItem">
								<label for="count" ><wicket:message key="repeatCountField.label">Count</wicket:message></label>
								<span class="formElement"><input class="inputText" type="text" id="count" wicket:id="count"/></span>
								<span class="formElementHelp"><wicket:message key="count.help" /></span>
							</div>
							<div class="formItem">
								<label for="until" ><wicket:message key="repeatUntilField.label">Until</wicket:message></label>
								<span class="formElement"><input class="inputText" type="text" id="until" wicket:id="until"/></span>
								<span class="formElementHelp"><wicket:message key="until.help" /><span wicket:id="untilFormat"></span></span>
							</div>
							<span wicket:id="formExtensions"></span>
						</div>

						<div class="formButtons">
							<span>
								<button class="button" wicket:id="discardButton"><wicket:message key="discardButton.text" /></button>
								<input class="button" type="submit" id="submitButton" wicket:id="submitButton" />
							</span>
						</div>

					</form>
				</div>
			</div>
		</div>
	</wicket:extend>
</body>
</html>
